<template>
  <div id="app">
    <el-container>
      <el-header>
        <page-header/>
      </el-header>
      <el-main style="padding:0">
        <router-view></router-view>
      </el-main>
      <el-footer>
        <page-footer/>
      </el-footer>
    </el-container>

  </div>
</template>

<script>
import PageHeader from '@/components/PageHeader.vue'
import PageFooter from '@/components/PageFooter.vue'
export default {
  name: 'app',
  components: {
    PageHeader,
    PageFooter
  }
}
</script>

<style>
* {
  margin: 0;
  padding: 0;
}
.el-header,
.el-footer {
  background-color: #333;
  color: #fff;
}
.el-main {
  min-height: calc(100vh - 120px);
}
</style>
